package com.chat.system.entity.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class LatelyChatSession {
    private String id;

    private String lastMessage;
    private Date lastDate;

    public LatelyChatSession(String lastMessage, Date lastDate) {
        this.lastMessage = lastMessage;
        this.lastDate = lastDate;
    }
}
